Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Resource to internal trace instrumentation #1699

Merged
merged 3 commits into from
Feb 25, 2025

Conversation

marctc
Copy link
Contributor

@marctc marctc commented Feb 24, 2025

Use newResourceInternal when new trace provider is set when setting internal
instrumentation for Tracing. Previously nothing was set to we would see "unknown_service:beya"
in some traces.

Fixes #1467

This is how looks now:

image

cc @gouthamve

@marctc marctc requested a review from a team as a code owner February 24, 2025 19:02
Copy link

codecov bot commented Feb 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.85%. Comparing base (ee96e94) to head (bb1f5c0).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1699      +/-   ##
==========================================
+ Coverage   69.67%   69.85%   +0.18%     
==========================================
  Files         209      209              
  Lines       21006    21051      +45     
==========================================
+ Hits        14635    14706      +71     
+ Misses       5664     5635      -29     
- Partials      707      710       +3     
Flag Coverage Δ
integration-test 54.34% <100.00%> (+0.17%) ⬆️
k8s-integration-test 54.54% <100.00%> (+0.32%) ⬆️
oats-test 34.87% <0.00%> (-0.05%) ⬇️
unittests 46.24% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gouthamve
Copy link
Member

Why is it beyla-internal and not just beyla?

Copy link
Contributor

@mariomac mariomac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@marctc marctc merged commit b91e8c2 into main Feb 25, 2025
13 checks passed
@marctc marctc deleted the fix_internal_traces_service_name branch February 25, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Beyla in kubernetes detects itself as unknown_service:beyla
3 participants